import 'package:animate_do/animate_do.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:homemedia/style/theme.dart';

import 'logic.dart';

class SplashPage extends StatelessWidget {
  SplashPage({super.key});

  final logic = Get.put(SplashLogic());


  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: Center(
        child: FadeInUp(
          child: FadeOutUp(
            animate: logic.fadeOut,
            child: Text(
              "DMC PRO",
              style: TextStyle(
                fontFamily: slantFontFamily,
                fontSize: 80,
                color: Colors.white,
              ),
            ),
          ),
        ),
      ),
    );
  }


}
